IdeaBlade DevForce 2010 Help Reference
ConstructGenericInstance(Type,Type[]) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > TypeFns Class > ConstructGenericInstance Method : ConstructGenericInstance(Type,Type[]) Method



genericType
argTypes
Constructs a generic instance.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function ConstructGenericInstance( _
   ByVal genericType As Type, _
   ByVal ParamArray argTypes() As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim genericType As Type
Dim argTypes() As Type
Dim value As Object
 
value = TypeFns.ConstructGenericInstance(genericType, argTypes)
C# 
public static object ConstructGenericInstance( 
   Type genericType,
   params Type[] argTypes
)
C++/CLI 
public:
static Object^ ConstructGenericInstance( 
   Type^ genericType,
   ... array<Type^>^ argTypes
) 

Parameters

genericType
argTypes

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.